* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

th {
    background-color: #1a73e8;
    color: white;
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

td {
    padding: 10px;
    border: 1px solid #ddd;
}

tr {
    transition: background-color 0.2s;
}

tr:not(:first-child):hover {
    background-color: #f5f5f5;
}

.user-opt {
    background-color: royalblue;
    border-radius: 5px;
    padding: 6px;
    color: white;
    width: 80px;
    border: 0px;
}

/* 头部图片 */
.header-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 人脸识别复选框 */
.face-checkbox {
    padding: 10px;
    text-align: right;
    background-color: #f0f0f0;
}

.face-block {
    display: inline-block;
}

/* 主内容区域 */
.main-container {
    display: flex;
    min-height: calc(100vh - 240px); /* 计算剩余高度 */
}

/* 左侧导航栏 */
.sidebar {
    width: 200px;
    background-color: #1a73e8;
    padding: 20px;
}

.nav-button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    color: white;
    text-align: left;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #1557b0;
}

.nav-button.active {
    background-color: #0d47a1;
}

/* 右侧内容区域 */
.content {
    flex: 1;
    padding: 20px;
    background-color: #f8f9fa;
}

.content-section {
    display: none;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-section.active {
    display: block;
}